#pragma once
#include <iostream>
#include <functional>

using func_t = std::function<int(int, int)>;

class Task
{
public:
Task()
{}
    Task(int a, int b) : _a(a), _b(b)
    {
    }
    Task(const Task& t)
    {
        _a=t._a;
        _b=t._b;
    }
    void Debug()
    {
        printf("%d + %d = ",_a,_b);
    }
    int excute()
    {
        return _a + _b;
    }
    int operator()()
    {
        return excute();
    }
private:
    int _a;
    int _b;
};